package com.newtribe.security.remote;

import java.rmi.Remote;
import java.rmi.RemoteException;
import java.util.Set;

import com.newtribe.security.cert.CAConfig;
import com.newtribe.security.cert.KMCConfig;

public interface WorkerInstanceRemote extends Remote{

	/**
	 * @return the id
	 */
	public  String getId()throws RemoteException;

	/**
	 * @param id the id to set
	 */
	public  void setId(String id)throws RemoteException;

	public  KMCConfig getKmcConfig()throws RemoteException;

	public  void setKmcConfig(KMCConfig kmcConfig)throws RemoteException;

	public  CAConfig getCaConfig() throws RemoteException;

	public  void setCaConfig(CAConfig caConfig)throws RemoteException;

	public  Set getRAConfig()throws RemoteException;

	public  void setRAConfig(Set config)throws RemoteException;

	public  byte[]  signCert(String p10) throws RemoteException;

}